package com.kucowka.struts.actions;

import java.util.LinkedList;
import java.util.List;

import com.opensymphony.xwork2.Action;

public class LoginAction {

	public List<String> roles;

	public LoginAction() {
		roles = new LinkedList<String>();
		roles.add("admin");
		roles.add("manager");
		roles.add("user");
	}

	public List<String> getRoles() {
		return roles;
	}

	public void setRoles(List<String> roles) {
		this.roles = roles;
	}

	public String login() {

		return Action.SUCCESS;
	}
}
